﻿using System;
namespace Chenxin.Lib.Passport.Entity
{
    /// <summary>
    /// 实体类Hr_UserInfo 。(属性说明自动提取数据库字段的描述信息)
    /// </summary>
    [Serializable]
    public class Hr_UserInfo
    {
        public Hr_UserInfo()
        { }
        #region Model
        private Guid _userid;
        private string _usercode;
        private Guid _cityid;
        private string _cityname;
        private bool _validate;
        private string _password;
        private int? _usertype;
        private string _username;
        private int? _sex;
        private string _education;
        private string _idtype;
        private string _idno;
        private DateTime? _birthday;
        private string _address;
        private string _mobile;
        private string _hometel;
        private string _officetel;
        private string _bankno;
        private DateTime? _conbegin;
        private DateTime? _conend;
        private Guid _departid;
        private string _departname;
        private string _position;
        private string _emplevel;
        private DateTime? _comedate;
        private string _fundcode;
        private DateTime? _passupdatetime;
        private string _remark;
        private DateTime? _addtime;
        private DateTime? _updatetime;
        private string _addperson;
        private string _adddepart;
        private int? _status;
        private bool _needchgpass;
        private DateTime? _leavedate;
        private string _initial;
        private DateTime? _workagebegin;
        private string _email;
        private string _zip;
        private string _picurl;
        private string _picurlsmall;


        /// <summary>
        /// 劳动关系
        /// </summary>
        public string WorkRelation
        {
            get;
            set;
        }
        /// <summary>
        /// 是否虚账号
        /// </summary>
        public bool IsVirtual
        {
            get;
            set;
        }

        /// <summary>
        /// 行政隶属CityID
        /// </summary>
        public Guid BelongCityId
        {
            get;
            set;
        }

        /// <summary>
        /// 行政隶属City
        /// </summary>
        public string BelongCityName
        {
            get;
            set;
        }

        /// <summary>
        /// 行政隶属公司ID
        /// </summary>
        public Guid BelongCompanyId
        {
            get;
            set;
        }

        /// <summary>
        /// 行政隶属公司名称
        /// </summary>
        public string BelongCompanyName
        {
            get;
            set;
        }

        /// <summary>
        /// 行政隶属部门ID
        /// </summary>
        public Guid BelongDepartId
        {
            get;
            set;
        }

        /// <summary>
        /// 行政隶属部门
        /// </summary>
        public string BelongDepart
        {
            get;
            set;
        }

        /// <summary>
        /// 人员所属公司ID
        /// </summary>
        public Guid CompanyId
        {
            get;
            set;
        }

        /// <summary>
        /// 人员所属公司
        /// </summary>
        public string CompanyName
        {
            get;
            set;
        }

        /// <summary>
        /// 邮编
        /// </summary>
        public string Zip
        {
            set { _zip = value; }
            get { return _zip; }
        }

        /// <summary>
        /// 工龄开始计算时间
        /// </summary>
        public DateTime? WorkAgeBegin
        {
            set { _workagebegin = value; }
            get { return _workagebegin; }
        }

        /// <summary>
        /// 用户EMAIL
        /// </summary>
        public string Email
        {
            get {  return _email; }
            set { _email = value; }
        }
        /// <summary>
        /// 
        /// </summary>
        public Guid UserId
        {
            set { _userid = value; }
            get { return _userid; }
        }
        /// <summary>
        /// 
        /// </summary>
        public string UserCode
        {
            set { _usercode = value; }
            get { return _usercode; }
        }
        /// <summary>
        /// 
        /// </summary>
        public Guid CityId
        {
            set { _cityid = value; }
            get { return _cityid; }
        }
        /// <summary>
        /// 
        /// </summary>
        public string CityName
        {
            set { _cityname = value; }
            get { return _cityname; }
        }
        
        /// <summary>
        /// 
        /// </summary>
        public bool Validate
        {
            set { _validate = value; }
            get { return _validate; }
        }
        /// <summary>
        /// 
        /// </summary>
        public string Password
        {
            set { _password = value; }
            get { return _password; }
        }
        /// <summary>
        /// 
        /// </summary>
        public int? UserType
        {
            set { _usertype = value; }
            get { return _usertype; }
        }
        /// <summary>
        /// 
        /// </summary>
        public string UserName
        {
            set { _username = value; }
            get { return _username; }
        }
        /// <summary>
        /// 
        /// </summary>
        public int? Sex
        {
            set { _sex = value; }
            get { return _sex; }
        }
        /// <summary>
        /// 
        /// </summary>
        public string Education
        {
            set { _education = value; }
            get { return _education; }
        }
        /// <summary>
        /// 
        /// </summary>
        public string IDType
        {
            set { _idtype = value; }
            get { return _idtype; }
        }
        /// <summary>
        /// 
        /// </summary>
        public string IDNo
        {
            set { _idno = value; }
            get { return _idno; }
        }
        /// <summary>
        /// 
        /// </summary>
        public DateTime? BirthDay
        {
            set { _birthday = value; }
            get { return _birthday; }
        }
        /// <summary>
        /// 
        /// </summary>
        public string Address
        {
            set { _address = value; }
            get { return _address; }
        }
        /// <summary>
        /// 
        /// </summary>
        public string Mobile
        {
            set { _mobile = value; }
            get { return _mobile; }
        }
        /// <summary>
        /// 
        /// </summary>
        public string HomeTel
        {
            set { _hometel = value; }
            get { return _hometel; }
        }
        /// <summary>
        /// 
        /// </summary>
        public string OfficeTel
        {
            set { _officetel = value; }
            get { return _officetel; }
        }
        /// <summary>
        /// 
        /// </summary>
        public string BankNo
        {
            set { _bankno = value; }
            get { return _bankno; }
        }
        /// <summary>
        /// 
        /// </summary>
        public DateTime? ConBegin
        {
            set { _conbegin = value; }
            get { return _conbegin; }
        }
        /// <summary>
        /// 
        /// </summary>
        public DateTime? ConEnd
        {
            set { _conend = value; }
            get { return _conend; }
        }
        /// <summary>
        /// 
        /// </summary>
        public Guid DepartId
        {
            set { _departid = value; }
            get { return _departid; }
        }
        /// <summary>
        /// 
        /// </summary>
        public string DepartName
        {
            set { _departname = value; }
            get { return _departname; }
        }
        /// <summary>
        /// 
        /// </summary>
        public string Position
        {
            set { _position = value; }
            get { return _position; }
        }
        /// <summary>
        /// 
        /// </summary>
        public string EmpLevel
        {
            set { _emplevel = value; }
            get { return _emplevel; }
        }
        /// <summary>
        /// 
        /// </summary>
        public DateTime? ComeDate
        {
            set { _comedate = value; }
            get { return _comedate; }
        }
        /// <summary>
        /// 
        /// </summary>
        public string FundCode
        {
            set { _fundcode = value; }
            get { return _fundcode; }
        }
        /// <summary>
        /// 
        /// </summary>
        public DateTime? PassUpdateTime
        {
            set { _passupdatetime = value; }
            get { return _passupdatetime; }
        }
        /// <summary>
        /// 
        /// </summary>
        public string Remark
        {
            set { _remark = value; }
            get { return _remark; }
        }
        /// <summary>
        /// 
        /// </summary>
        public DateTime? AddTime
        {
            set { _addtime = value; }
            get { return _addtime; }
        }
        /// <summary>
        /// 
        /// </summary>
        public DateTime? UpdateTime
        {
            set { _updatetime = value; }
            get { return _updatetime; }
        }
        /// <summary>
        /// 
        /// </summary>
        public string AddPerson
        {
            set { _addperson = value; }
            get { return _addperson; }
        }
        /// <summary>
        /// 
        /// </summary>
        public string AddDepart
        {
            set { _adddepart = value; }
            get { return _adddepart; }
        }
        /// <summary>
        /// 1:在职；-1离职
        /// </summary>
        public int? Status
        {
            set { _status = value; }
            get { return _status; }
        }
        /// <summary>
        /// 
        /// </summary>
        public bool NeedChgPass
        {
            set { _needchgpass = value; }
            get { return _needchgpass; }
        }
        /// <summary>
        /// 离职
        /// </summary>
        public DateTime? LeaveDate
        {
            set { _leavedate = value; }
            get { return _leavedate; }
        }

        /// <summary>
        /// 大头像地址
        /// </summary>
        public string PicUrl
        {
            set { _picurl = value; }
            get { return _picurl; }
        }
        /// <summary>
        /// 小头像地址
        /// </summary>
        public string PicUrlSmall
        {
            set { _picurlsmall = value; }
            get { return _picurlsmall; }
        }

        public string SerialCode
        {
            get;
            set;
        }
        /// <summary>
        /// 首字母
        /// </summary>
        public string Initial
        {
            set { _initial = value; }
            get { return _initial; }
        }
        #endregion Model

    }
}

